package com.cn.domain;

import lombok.Builder;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by chenyuncong on 2019/9/12.
 */
@Data
//@Builder
@Table(name="sys_role")
public class Role {
    @Id
    private Long id;
    private String name;
    private String nameZh;

    public Role() {
    }

    public Role(Long id, String name, String nameZh) {
        this.id = id;
        this.name = name;
        this.nameZh = nameZh;
    }
}
